package cn.kgc.springcloud.client;

import cn.kgc.springcloud.entity.Clazz;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: 课工场
 * @Version: v1.0  2023/7/8
 * @Description:
 */
@FeignClient("CLAZZSERVICE")
public interface ClazzClient {

    @GetMapping("/clazz/{id}")
    Clazz getById(@PathVariable("id") Integer id);
}
